
import random

def game(time,n=0,m=100):
    guess = random.randint(n,m)
    while time > 0:
        num = int(input("输入你猜的数字:"))
        if num == guess:
            print("你猜对了.")
            break
        elif num > guess:
            print("你猜大了。")
            time -= 1
        else:
            print("你猜小了。")
            time -= 1

def prime(n=2,m=100):
    for i in range(n,m):
        if i>1:
            for n in range(2,i):
                if i % n == 0:
                    break
            else:
                print("%d" %i)

num = [0,1,2,3,4,5,6,7,8]
nums = [num[i] for i in num if i % 2 != 0]
print(nums)


# if __name__ == "__main__":
#     prime(0,100)
#     game(10)

